<!DOCTYPE html>
<html>
<head>
    <title>JSMpeg Stream Client</title>
    <style type="text/css">
        html,
        body {
            background-color: #111;
            text-align: center;
        }
    </style>
</head>
<body>
<canvas id="video-canvas" width="1280" height="720"></canvas>
<script type="text/javascript" src="jsmpeg.min.js"></script>
<script type="text/javascript">
    var canvas = document.getElementById("video-canvas");
    var url= "ws://127.0.0.1:8082/live/test"
    // var url = "ws://103.239.204.35:49148/live/ZCC1806000006054-ch06";
    console.log(url);

    var player = new JSMpeg.Player(url, {canvas: canvas, autoplay: false});
</script>
</body>
</html>
